package cn.tedu.spring.egg2;

import org.springframework.context.ApplicationContext;
import org.springframework.context.annotation.AnnotationConfigApplicationContext;

public class TestPro {
    public static void main(String[] args) {
        ApplicationContext context=new AnnotationConfigApplicationContext("cn.tedu.spring.egg2");
        System.out.println(context.getBean(Pro.class));
    }
}
